home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-06-26 | 1.6 KB | 45 lines | [TEXT/GEOL] |
- Item 4310042 17-May-89 17:58
-
- From: MACDTS Macintosh Developer Technical Supt.
-
- To: ARGII Argii Design Group, M Demeyer, PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Disabled Menus
-
- To: Dav Holle, ARGII
-
- Dav,
-
- It seems to me that the only time all of your menus will be disabled is if you
- have omitted calling INHERITED DoSetupMenus in one of your event handlers.
- There doesn't seem to be anything else that block setting this up.
-
- You can try to track this down by entering the debugger...oh, wait...you say
- that you haven't seen this happen in the debug version. Oh, well...try this
- ayway. Enter the debugger, set a breakpoint for DoSetupMenus. Then trace
- through what happens by pressing the space bar. Or even break on TYourApplica-
- tion.SetupTheMenus, and trace through that. You should see something like:
-
- TTargetView.DoSetupMenus
- TView.DoSetupMenus
- TEvtHandler.DoSetupMenus
- TWindow.DoSetupMenus
- TView.DoSetupMenus
- TEvtHandler.DoSetupMenus
- TYourDocument.DoSetupMenus
- TDocument.DoSetupMenus
- TEvtHandler.DoSetupMenus
- TYourApplication.DoSetupMenus
- TApplication.DoSetupMenus
- TEvtHandler.DoSetupMenus
-
- And then spiral on out.
-
- Hope this helps,
-
- - Keith Rollin
- - Apple Developer Technical Support
-
-